package com.yunban.project.template.model.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

import java.io.Serializable;

/**
 * @author: lijiajun
 * @date: 2024-11-07
 * @version: 1.0
 */
@Data
@Schema(description = "word抽取解码器入参")
public class DecoderReq implements Serializable {
    @Schema(description = "抽取名称")
    @NotBlank(message = "抽取名称不能为空")
    private String name;
    @NotBlank(message = "抽取名称不能为空")
    @Schema(description = "抽取脚本")
    private String code;
    @Schema(description = "path")
    private String path;
    @Schema(description = "规则描述")
    @NotBlank(message = "规则描述不能为空")
    private String desc;
    @Schema(description = "截图")
    @NotBlank(message = "截图不能为空")
    private String img;
}
